#include "pch.h"
#include <iostream>
#include <string>
#include <sstream>

using namespace std;

class Solution {
public:
	string addStrings(string num1, string num2) {
		int a, b;
		stringstream ss1(num1);
		ss1 >> a;
		stringstream ss2(num2);
		ss2 >> b;

		int sum = a + b;
		string res = to_string(sum);
		return res;
	}
};

int main()
{
	Solution s;
	string str1 = "12345";
	string str2 = "11111";
	string res = s.addStrings(str1,str2);
	cout << res << endl;

	return 0;
}